package com.example.base.system.domain.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SysDicDataVo implements Serializable {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
     * 字典分类id
     */
    @NotNull(message = "字典分类id不得为空")
    @ApiModelProperty(value = "字典分类id")
    private Integer dicCategoryId;
    /**
     * 字典key
     */
    @NotBlank(message = "字典key不得为空")
    @ApiModelProperty(value = "字典key")
    private String dicKey;
    /**
     * 字典名称
     */
    @NotBlank(message = "字典名称不得为空")
    @ApiModelProperty(value = "字典名称")
    private String dicName;


    @ApiModelProperty(value = "")
    private String dicDic;


    @NotNull(message = "是否有效不得为空")
    @ApiModelProperty(value = "")
    private Boolean dicYx;

    /**
     * 字典值
     */
    @NotBlank(message = "字典值不得为空")
    @ApiModelProperty(value = "字典值")
    private String dicValue;

}
